﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _019_WCF2_AXis2
{
    class Program
    {
        static void Main(string[] args)
        {
            ServiceReference1.MyServicePortType ms = new ServiceReference1.MyServicePortTypeClient("MyServiceHttpSoap11Endpoint");

            ServiceReference1.doHelloWorldRequest request = new ServiceReference1.doHelloWorldRequest();
            request.src = new int[] {1,2,3,4,5,6};

            ServiceReference1.doHelloWorldResponse response =    ms.doHelloWorld(request);

            Console.WriteLine("Name {0}", response.@return.name);
            //*
            foreach (int i in response.@return.array)
            {
                Console.WriteLine(String.Format("{0}", i));
            }
            //*/

            Console.ReadLine();

        }
    }
}
